<template>
  <router-view></router-view>
</template>

<script>
export default {};
</script>

<style lang="less">
@import url("http://at.alicdn.com/t/font_1426139_h6vn3jbl5q.css");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
  line-height: 1.5;
  font-family: pingfang;
  /* background: #F2F2F2; */
}

/* 为了整体的效果更佳的美观，我们需要写死小于320px屏幕 大于 750px 的字体大小  */
/* @media screen and (max-width: 320px) {
  html {
    font-size: 32px !important;
  }
}

@media screen and (min-width: 750px) {
  html {
    font-size: 75px !important;
  }
} */

/*点击高亮我们需要清除清除  设置为transparent 完成透明*/

a {
  -webkit-tap-highlight-color: transparent;
}

/*在移动端浏览器默认的外观在iOS上加上这个属性才能给按钮和输入框自定义样式*/

input {
  -webkit-appearance: none;
}

/*禁用长按页面时的弹出菜单*/

img,
a {
  display: block;
  -webkit-touch-callout: none;
}

i {
  font-style: normal;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0;
}

input,
button {
  outline: 0;
  border: 0;
}

a {
  color: #666;
  text-decoration: none;
}

.clearfix::after,
.clearfix::before {
  content: "";
  display: block;
  height: 0;
  visibility: hidden;
  clear: both;
}
</style>
